package com.ruoyi.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 教师关系对象 business_teacher_student_rel
 * 
 * @author ruoyi
 * @date 2022-11-30
 */
public class BusinessTeacherStudentRel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long relId;

    /** 教师id */
    @Excel(name = "教师id")
    private Long teacherId;

    /** 学生id */
    @Excel(name = "学生id")
    private Long studentId;

    public void setRelId(Long relId) 
    {
        this.relId = relId;
    }

    public Long getRelId() 
    {
        return relId;
    }
    public void setTeacherId(Long teacherId) 
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId() 
    {
        return teacherId;
    }
    public void setStudentId(Long studentId) 
    {
        this.studentId = studentId;
    }

    public Long getStudentId() 
    {
        return studentId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("relId", getRelId())
            .append("teacherId", getTeacherId())
            .append("studentId", getStudentId())
            .toString();
    }
}
